//
//  RMSurpriseViewController.m
//  RMNote
//
//  Created by 晓风残月 on 16/4/28.
//  Copyright © 2016年 lxf. All rights reserved.
//

#import "RMSurpriseViewController.h"

@interface RMSurpriseViewController ()

@end

@implementation RMSurpriseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    UISegmentedControl *segmented = [[UISegmentedControl alloc]initWithItems:@[@"笑话",@"历史上的今天"]];
    segmented.frame = CGRectMake(kScreenWidth/2-90, 50, 180, 40);
    [self.view addSubview:segmented];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
